home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / hr31s.zip / INSTALL.FIL < prev    next >
Text File  |  1992-12-22  |  5KB  |  181 lines

  1.  
  2. BACKGROUND 63
  3. TELESCOPE OFF
  4. SHADOW ON
  5. WINOPEN 18 2 95
  6.  
  7. "   TurboSystemsCo"
  8. "Installation Program"
  9. "        For"
  10. " Household Register"
  11. DOS 2.1
  12. JUMP.NO NO_DOS
  13. MEMORY 384
  14. JUMP.NO  NO_MEM
  15. :PROMPT
  16. SPACE 300
  17. DRIVE C 28 10 31 15 32 14 79
  18. PATH \HR 12 10 31 15 32 14 79
  19. EXIST ~1~2\*.*
  20. JUMP.NO UNPACK
  21. WINOPEN 0 10 31
  22. "The directory ~1~2 already exists and contains files!"
  23. "Are you sure you want to risk overwriting files in this directory Y or N?"
  24. ASK 77 12
  25. WINCLOSE
  26. JUMP.NO PROMPT
  27. :UNPACK
  28. UNPACK HOUSE.PAK 24 10 31 32 14 79
  29. JUMP.FAIL INSTALL_FAILURE
  30. COPY ~0\README.DOC  ~1~2\README.DOC 24 10 31
  31. WINOPEN 0 10 31
  32. "Do you want to install the sample files Y or N?"
  33. "The sample files will aid you in learning the program"
  34. ASK 64 11
  35. WINCLOSE
  36. JUMP.NO TEST_CONFIG
  37. UNPACK SAMPLE.PAK 24 10 31 32 14 79
  38. JUMP.FAIL INSTALL_FAILURE
  39. :TEST_CONFIG
  40. WINOPEN 0 10 31
  41. "Household Register requires that you have the statements FILES=16 and"
  42. "and BUFFERS=20 or greater in your CONFIG.SYS file."
  43. "Do you want the program to check/modify your CONFIG.SYS file if required"
  44. "                         Y)es or N)o"
  45. ASK  45 14
  46. WINCLOSE
  47. JUMP.NO SKIPGO
  48. :COMMAND_TEST
  49. EXIST ~3\COMMAND.COM
  50. JUMP.YES DOS_PROMPT
  51. WINOPEN 0 10 15
  52. "Please insert your boot floppy disk in drive ~3"
  53. ""
  54. "Press the [Enter] key to continue."
  55. WAIT 47 13
  56. WINCLOSE
  57. JUMP COMMAND_TEST
  58. :DOS_PROMPT
  59. SHADOW OFF
  60. EXIST ~3\CONFIG.SYS
  61. JUMP.NO MAKE_CONFIG
  62. COPY ~3\CONFIG.SYS ~3\CONFIG.LDT 24 10 51
  63. SET.FILES 16
  64. JUMP.FAIL INSTALL_FAILURE
  65. SET.BUFFERS 20
  66. JUMP.FAIL INSTALL_FAILURE
  67. SHADOW ON
  68. JUMP SKIPGO
  69. :MAKE_CONFIG
  70. FILE ~3\CONFIG.SYS
  71. JUMP.FAIL INSTALL_FAILURE
  72. "FILES=16"
  73. "BUFFERS=20"
  74. JUMP THERE
  75. :SKIPGO
  76. SHADOW OFF
  77. WINOPEN 0 12 31
  78. "Would you like to read the README.DOC file?"
  79. "                             (Y or N)"
  80.  
  81. ASK 57 14                     ' one method of providing a "conditional" jump
  82. WINCLOSE                      ' close the above window
  83. JUMP.NO PRINT_INSTALL.TXT
  84. VIEW ~1~2\README.DOC 79 31
  85. :PRINT_INSTALL.TXT
  86. WINOPEN 0 12 31
  87. "Would you like to PRINT the README.DOC file?"
  88. "                             (Y or N)"
  89.  
  90. ASK 57 14                     ' one method of providing a "conditional" jump
  91. WINCLOSE                      ' close the above window
  92. JUMP.NO THERE
  93.  
  94. WINOPEN 0 0 31                ' printing large file takes a while ...
  95. "Printing ..."
  96. PRINT ~1~2\README.DOC
  97. WINCLOSE                      ' close the above window
  98. JUMP.FAIL PRINTER_ERROR       ' jump on fatal error
  99. JUMP THERE                     ' print successful, skip next
  100.  
  101. :PRINTER_ERROR                ' label for error condition
  102. WINOPEN 0 12 31                ' open the following window
  103. "Your printer is not responding.  Possible problems:"
  104. "   -- Printer is not turned on"
  105. "   -- Printer is out of paper"
  106. "   -- Printer is not attached to LPT1 (parallel port 1)"
  107. ""
  108. "Do you want to try to print again  (Y or N)?"
  109. ASK 57 18                     ' prompt for Y or N key
  110. WINCLOSE                      ' close this window
  111. JUMP.YES PRINT_INSTALL.TXT    ' y key pressed, print
  112.  
  113. :THERE
  114. DOS 3.3
  115. JUMP.NO OLD_DOS
  116. EXIST ~3\HR.BAT
  117. JUMP.YES DONE
  118. FILE ~3\HR.BAT
  119. "@~1"
  120. "@cd ~2"
  121. "@HR"
  122. "@cd \"
  123. JUMP DONE
  124. :OLD_DOS
  125. EXIST ~3\HR.BAT
  126. JUMP.YES DONE
  127. FILE ~3\HR.BAT
  128. "~1"
  129. "cd ~2"
  130. "HR"
  131. "cd \"
  132. :DONE
  133. WINCLOSE
  134. WINOPEN 0 0 95
  135. "Household Register has been successfully installed. "
  136. "If you let the program check/modify your CONFIG.SYS file,"
  137. "you should re-boot your computer prior to running"
  138. "Household Register to allow the modifications to take effect."
  139. "Also the program made a backup copy of your old CONFIG.SYS"
  140. "called CONFIG.LDT prior to making any changes."
  141. ""
  142. "     To run the program type HR and press the ENTER "
  143. "     key from the root directory of drive ~3."
  144. ""
  145. " Press [Enter] key to exit this installation program"
  146. WAIT 67 17
  147. WINCLOSE
  148. :EXIT
  149. END
  150. :NO_DOS
  151. WINOPEN 0 10 31
  152. "      This program requires DOS version 2.1 or greater to run!      "
  153. "               The installation is terminated"
  154. "Contact TurboSystemsCo at 404-516-8575 if your DOS is 2.1 or greater"
  155. "               Press the [Enter] key to exit"
  156. WAIT 47 17
  157. WINCLOSE
  158. JUMP EXIT
  159.  
  160. :NO_MEM
  161. WINOPEN 0 10 31
  162. "Your system does not have at least 384K memory required to run the program"
  163. "                      The installation is terminated!"
  164. "   If your system has 384K or more contact TurboSystemCo at 404-516-8575"
  165. "                       Press the [Enter] key to exit"
  166. WAIT 47 13
  167. WINCLOSE
  168. JUMP EXIT
  169.  
  170. :INSTALL_FAILURE
  171. WINOPEN 0 11 79
  172. "THE INSTALLATION PROGRAM FAILED PRIOR TO COMPLETION"
  173. ""
  174. "Possible reasons:"
  175. "--The floppy disk was removed prior to completion."
  176. "--The floppy disk was damaged during shipping."
  177. "--Your disk drive is out of alignment."
  178. ""
  179. "Press [Enter] to exit"
  180. WAIT 62 19
  181. JUMP EXIT